home *** CD-ROM | disk | FTP | other *** search
- **********************************************************************
-
- The TSR package is a group of programs useful in managing
- DOS memory, and in particular managing memory-resident
- utilities. TSR stands for "Terminate and Stay Resident".
-
- **********************************************************************
-
- MARK.COM and RELEASE.COM are used to remove memory-resident
- programs from memory, without the usual problems of creating
- holes or leaving interrupts dangling. The two programs are used
- simply as follows:
-
- 1) Run the program MARK.COM before installing any memory-
- resident program that you may wish to deinstall later.
- This marks the current position in memory and stores the
- DOS interrupt vector table (all interrupts from 0 to FFH).
-
- 2) Install whatever TSRs that you want to use, in the normal
- way that you install them.
-
- 3) When you want to deinstall all TSRs above the last MARK,
- run the program RELEASE.COM. This will release all of the
- memory above (and including) the last MARK, and restore
- all interrupt vectors taken over by the memory resident
- programs.
-
- MARK and RELEASE can be "stacked" as many times as desired.
- RELEASE releases the memory above the last MARK call.
- MARK uses about 1600 bytes of memory each time it is called.
- This 1600 byte region is also released when a RELEASE is done.
- MARK memory usage is dominated by the copies of the DOS
- interrupt vector table (interrupts 0..FFH) and the copy
- of the EMS page map (blocks 0..31 only) which MARK keeps
- when it goes resident.
-
- MARK and RELEASE can optionally be called with a single command
- line parameter:
-
- MARK MarkName
- RELEASE MarkName
-
- In this way a particular mark is given a name. Calling RELEASE
- with the same name will release all memory above and including
- the mark of that name, also releasing any intermediate marks in
- the process. If no mark of the proper name is found, RELEASE will
- halt with a warning. A RELEASE call with no MarkName specified
- will release the last MARK, whether or not that MARK was named.
-
- The MarkName can be any text string up to 126 characters in length.
- It may not contain embedded blanks or tabs. Case (upper or lower)
- is not important when matching MarkNames.
-
- As of version 1.4, MARK and RELEASE also control Expanded memory
- (Lotus/Intel/Microsoft EMS). They have been tested with READY!
- and with the TurboPower Software expanded memory disk cache, as
- well as with the device drivers used by the STB Expanded Memory
- Card.
-
- WARNING: if a resident application allocates expanded memory
- at some time >after< going resident and after the last MARK made,
- that expanded memory will be released by a call to RELEASE.
- The current expanded memory manager (EMM) does not give us enough
- information to avoid this possibility. Fortunately, there are
- no known memory resident programs which perform this dynamic
- allocation of expanded memory. We hope that the EMM will be
- upgraded before such applications are designed.
-
- As of version 1.6, RELEASE takes special precautions to allow
- it to release extra invocations of the DOS command processor.
- In the simplest form, an extra command processor is obtained
- by typing COMMAND at the DOS level. Many multitasking or
- switching utilities also utilize this feature of DOS, and these
- utilities can now be managed via MARK and RELEASE.
-
- **********************************************************************
-
- MAPMEM.COM is used to display the current DOS memory map. It shows
- the resident programs, how much memory they use, and what interrupt
- vectors each currently owns. MAPMEM also shows information about
- expanded memory when such a card is installed. Calling MAPMEM with
- a "V" command line parameter (i.e., MAPMEM V) will show additional
- information about each program . The "Files" column shows the number
- of file handles that each resident program has kept open.
-
- RAMFREE.COM supplies a quick way to determine the amount of free RAM
- (without going through CHKDSK).
-
- EATMEM.COM is useful for development work where you want to test
- software in an environment with a desired amount of available memory.
- Note that the memory used by EATMEM can be freed up by using MARK
- and RELEASE. EATMEM is called with a single command line parameter,
- specifying (in decimal) the number of KILOBYTES to eat up.
-
- **********************************************************************
-
- All of these programs should work on any system running PCDOS or
- MSDOS 2.0 or later. They were developed on a Compaq Deskpro
- 286 running Compaq DOS 3.0. Source code is available in the file
- TSRSRC.ARC (the programs are written in assembly language (CHASM)
- and Pascal (Turbo)).
-
- Written by Kim Kokkonen, TurboPower Software.
- Version 1.6 - 3/20/86.
- Telephone: 408-378-3672 (M-F 9AM-5PM only)
- Compuserve: 72457,2131
-
- The programs have been released to the public domain for personal,
- non-commercial use only. You may use them yourself, give them to
- your friends or co-workers, or distribute them for a cost-based
- fee as part of a user's group or bulletin board service. If you
- wish to distribute these programs as part of a commercial package,
- please contact us for a license agreement.